import i18n from '@src/locales';

export const getColumns = [
  {
    fieldName: 'orderId',
    displayName: i18n.t('common.form.type.level'),
    formType: 'text',
    isSearch: 0,
    isNull: 1,
    placeholder: ' ',
  },
  {
    fieldName: 'areaCondition',
    displayName: i18n.t('common.base.condition'),
    formType: 'text',
    isSearch: 0,
    isNull: 1,
    placeholder: ' ',
  },
  {
    fieldName: 'regions',
    displayName: i18n.t('common.base.region'),
    formType: 'text',
    isSearch: 0,
    isNull: 1,
    placeholder: ' ',
  },
  {
    fieldName: 'unitPrice',
    displayName: i18n.t('common.base.salesUnitPrice'),
    formType: 'text',
    isSearch: 0,
    isNull: 1,
    placeholder: ' ',
  },
  {
    fieldName: 'currencyType',
    displayName: i18n.t('common.base.currency'),
    formType: 'text',
    isSearch: 0,
    isNull: 1,
    placeholder: ' ',
  },
];

export const areaConditionObj = {
  INCLUDE: i18n.t('common.base.include'),
  EXCLUDE: i18n.t('common.base.exclude'),
  EQUAL: i18n.t('common.base.equal'),
  NOT_EQUAL: i18n.t('common.base.notEqual'),
};

export const conditionOption = [
  {
    label: i18n.t('common.base.include'),
    value: 'INCLUDE',
  },
  {
    label: i18n.t('common.base.exclude'),
    value: 'EXCLUDE',
  },
];
